<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@ include file="/common/index.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>微客服_福利</title>
	<script language="javascript" src="<%=basePath %>/js/jquery-1.7.1.min.js"></script>
	<script language="javascript" src="<%=basePath %>/js/jquery.zclip.min.js"></script>
	<link rel="stylesheet" type="text/css" href="<%=basePath %>/css/css.css">
</head>
<%
	String phoneNum = request.getParameter("phoneNum");
%>
<body>
	<div class="wrapper">
		<h2><a onclick="window.location.href='<%=basePath %>/manager/batchGame/selectForApp.shtml?phoneNum=<%=phoneNum %>&game_flag=<s:property value="game_flag"/>&fuli_type=<s:property value="fuli_type"/>';" class="spec1"> < </a>福利</h2>
		<div class="content" >
			<table class="table1" cellpadding="0" cellspacing="0"  >
               	<tr class="tr1 head1" >
               		   <td nowrap="nowrap">游戏</td>
               	 	   <td nowrap="nowrap">类型</td>
                       <td nowrap="nowrap">领取时间</td>
                       <td nowrap="nowrap">礼包码</td>
                </tr>
                <tr class="tr1" >
					<td  colspan="4"></td>
				  </tr>
                <s:if test="myGameList.size()>0">
				<s:iterator value="myGameList" status="st">  
					  <tr class="tr1" name="tr1"  codeStr='<s:property value="codeStr"/>'  > 
					   <td nowrap="nowrap"><s:property value="gameName"/></td>
               	 	   <td nowrap="nowrap"><s:if test="fuliType==1">激活码</s:if><s:elseif test="fuliType==2">礼包</s:elseif><s:elseif test="fuliType==3">道具</s:elseif><s:elseif test="fuliType==4">周边</s:elseif></td>
                       <td nowrap="nowrap"><s:date name="getTime" format="yyMMdd HH:mm:ss" /></td>
					   <td nowrap="nowrap"><input value='<s:property value="codeStr"/>' readonly="readonly"  style="width:75%;background-color:#A7C0DC;border:1px solid #ffffff"   />
					  </div>
					   
					   </td>
                      </tr> 
                      <tr class="tr1" >
						<td  colspan="4"></td>
					  </tr>
				</s:iterator>   
				</s:if>
				<s:else>
					<tr style="text-align:center">
					<td colspan="4" >您暂无任何礼包...</td>
					</tr>
				</s:else>
			</table>
		</div>
		
		
	</div>
</body>
<script type="text/javascript">

/*
$(function(){
	alert('s');
    $('.tr1[name=tr1]').zclip({
        path: '<%=basePath %>/js/ZeroClipboard.swf',
        copy: function(){//复制内容
            return $(this).attr('codeStr');
        },
        afterCopy: function(){//复制成功
            alert('复制成功');
        }
    });
});
*/

</script>
</html>